public class TriangLb {
    public static void putstar(int i) {
        while(i-->=0)
            System.out.print('*');

    }

    public static void main(String[] args) {

            int i;
            for (i=0;i<5;i++) {
                putstar(i);
                System.out.println();
            }
    }
}
